package com.mark.web.sys.service;

import com.github.pagehelper.PageInfo;
import com.mark.common.ServerResponse;
import com.mark.web.sys.entity.po.Role;
import com.mark.web.sys.entity.vo.RoleVo;

/**
 * @Description: 系统角色业务接口定义
 * @Author: Mark
 * @CreateDate: 2019/1/13 18:52
 * @Version: 2.0
 * @Copyright : 豆浆油条个人非正式工作室
 */
public interface IRoleService {
    ServerResponse<String> addRole(Role role);

    ServerResponse<String> editRole(Role role);

    ServerResponse<PageInfo<RoleVo>> getRoleList(int pageNum, int pageSize);

    ServerResponse<RoleVo> getRole(Integer id);
}
